home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / IPFORWD.MI_ / ipforwd.mib
Encoding:
Text File  |  2003-02-21  |  15.4 KB  |  387 lines

  1.      RFC1354-MIB DEFINITIONS ::= BEGIN
  2.  
  3.      IMPORTS
  4.              Gauge, IpAddress
  5.                      FROM RFC1155-SMI
  6.              mib-2, ip
  7.                      FROM RFC1213-MIB
  8.              OBJECT-TYPE
  9.                      FROM RFC-1212;
  10.  
  11.      --  This MIB module uses the extended OBJECT-TYPE macro as
  12.      --  defined in [9].
  13.      ipForward  OBJECT IDENTIFIER ::= { ip 24 }
  14.  
  15.          ipForwardNumber OBJECT-TYPE
  16.              SYNTAX   Gauge
  17.              ACCESS   read-only
  18.              STATUS   mandatory
  19.              DESCRIPTION
  20.                 "The number of current  ipForwardTable  entries
  21.                 that are not invalid."
  22.              ::= { ipForward 1 }
  23.  
  24.  
  25.      --  IP Forwarding Table
  26.  
  27.      --  The IP Forwarding Table obsoletes and replaces the ipRoute
  28.      --  Table current in MIB-I and MIB-II.  It adds knowledge of
  29.      --  the autonomous system of the next hop, multiple next hop
  30.      --  support, and policy routing support.
  31.  
  32.  
  33.          ipForwardTable OBJECT-TYPE
  34.              SYNTAX   SEQUENCE OF IpForwardEntry
  35.              ACCESS   not-accessible
  36.              STATUS   mandatory
  37.              DESCRIPTION
  38.                 "This entity's IP Routing table."
  39.              REFERENCE
  40.                 "RFC 1213 Section 6.6, The IP Group"
  41.              ::= { ipForward 2 }
  42.  
  43.  
  44.          ipForwardEntry OBJECT-TYPE
  45.              SYNTAX   IpForwardEntry
  46.              ACCESS   not-accessible
  47.              STATUS   mandatory
  48.              DESCRIPTION
  49.                 "A particular route to  a  particular  destina-
  50.                 tion, under a particular policy."
  51.              INDEX {
  52.                  ipForwardDest,
  53.                  ipForwardProto,
  54.                  ipForwardPolicy,
  55.                  ipForwardNextHop
  56.                  }
  57.              ::= { ipForwardTable 1 }
  58.  
  59.  
  60.          IpForwardEntry ::=
  61.              SEQUENCE {
  62.                  ipForwardDest
  63.                      IpAddress,
  64.                  ipForwardMask
  65.                      IpAddress,
  66.                  ipForwardPolicy
  67.                      INTEGER,
  68.                  ipForwardNextHop
  69.                      IpAddress,
  70.                  ipForwardIfIndex
  71.                      INTEGER,
  72.                  ipForwardType
  73.                      INTEGER,
  74.                  ipForwardProto
  75.                      INTEGER,
  76.                  ipForwardAge
  77.                      INTEGER,
  78.                  ipForwardInfo
  79.                      OBJECT IDENTIFIER,
  80.                  ipForwardNextHopAS
  81.                      INTEGER,
  82.                  ipForwardMetric1
  83.                      INTEGER,
  84.                  ipForwardMetric2
  85.                      INTEGER,
  86.                  ipForwardMetric3
  87.                      INTEGER,
  88.                  ipForwardMetric4
  89.                      INTEGER,
  90.                  ipForwardMetric5
  91.                      INTEGER
  92.              }
  93.  
  94.          ipForwardDest OBJECT-TYPE
  95.              SYNTAX   IpAddress
  96.              ACCESS   read-only
  97.              STATUS   mandatory
  98.              DESCRIPTION
  99.                 "The destination IP address of this route.   An
  100.                 entry  with  a value of 0.0.0.0 is considered a
  101.                 default route.
  102.  
  103.                 This object may not take a Multicast (Class  D)
  104.                 address value.
  105.  
  106.                 Any assignment (implicit or  otherwise)  of  an
  107.                 instance  of  this  object to a value x must be
  108.                 rejected if the bitwise logical-AND of  x  with
  109.                 the  value of the corresponding instance of the
  110.                 ipForwardMask object is not equal to x."
  111.              ::= { ipForwardEntry 1 }
  112.  
  113.  
  114.          ipForwardMask OBJECT-TYPE
  115.              SYNTAX   IpAddress
  116.              ACCESS   read-write
  117.              STATUS   mandatory
  118.              DESCRIPTION
  119.                 "Indicate the mask to be logical-ANDed with the
  120.                 destination  address  before  being compared to
  121.                 the value  in  the  ipForwardDest  field.   For
  122.                 those  systems  that  do  not support arbitrary
  123.                 subnet masks, an agent constructs the value  of
  124.                 the  ipForwardMask  by  reference to the IP Ad-
  125.                 dress Class.
  126.  
  127.                 Any assignment (implicit or  otherwise)  of  an
  128.                 instance  of  this  object to a value x must be
  129.                 rejected if the bitwise logical-AND of  x  with
  130.                 the  value of the corresponding instance of the
  131.                 ipForwardDest object is not equal to ipForward-
  132.                 Dest."
  133.              DEFVAL { '00000000'h }      -- 0.0.0.0
  134.              ::= { ipForwardEntry 2 }
  135.  
  136.  
  137.          -- The following convention is included for specification
  138.          -- of TOS Field contents.  At this time, the Host Requirements
  139.          -- and the Router Requirements documents disagree on the width
  140.          -- of the TOS field.  This mapping describes the Router
  141.          -- Requirements mapping, and leaves room to widen the TOS field
  142.          -- without impact to fielded systems.
  143.  
  144.          ipForwardPolicy OBJECT-TYPE
  145.              SYNTAX   INTEGER
  146.              ACCESS   read-only
  147.              STATUS   mandatory
  148.              DESCRIPTION
  149.                 "The general set of conditions that would cause
  150.                 the  selection  of  one multipath route (set of
  151.                 next hops for a given destination) is  referred
  152.                 to as 'policy'.
  153.  
  154.                 Unless the mechanism indicated by ipForwardPro-
  155.                 to specifies otherwise, the policy specifier is
  156.                 the IP TOS Field.  The encoding of IP TOS is as
  157.                 specified  by  the  following convention.  Zero
  158.                 indicates the default path if no more  specific
  159.                 policy applies.
  160.  
  161.                 +-----+-----+-----+-----+-----+-----+-----+-----+
  162.                 |                 |                       |     |
  163.                 |   PRECEDENCE    |    TYPE OF SERVICE    |  0  |
  164.                 |                 |                       |     |
  165.                 +-----+-----+-----+-----+-----+-----+-----+-----+
  166.  
  167.                          IP TOS                IP TOS
  168.                     Field     Policy      Field     Policy
  169.                     Contents    Code      Contents    Code
  170.                     0 0 0 0  ==>   0      0 0 0 1  ==>   2
  171.                     0 0 1 0  ==>   4      0 0 1 1  ==>   6
  172.                     0 1 0 0  ==>   8      0 1 0 1  ==>  10
  173.                     0 1 1 0  ==>  12      0 1 1 1  ==>  14
  174.                     1 0 0 0  ==>  16      1 0 0 1  ==>  18
  175.                     1 0 1 0  ==>  20      1 0 1 1  ==>  22
  176.                     1 1 0 0  ==>  24      1 1 0 1  ==>  26
  177.                     1 1 1 0  ==>  28      1 1 1 1  ==>  30
  178.  
  179.                 Protocols defining 'policy' otherwise must  ei-
  180.                 ther define a set of values which are valid for
  181.                 this  object  or  must  implement  an  integer-
  182.                 instanced  policy table for which this object's
  183.                 value acts as an index."
  184.              ::= { ipForwardEntry 3 }
  185.  
  186.  
  187.          ipForwardNextHop OBJECT-TYPE
  188.              SYNTAX   IpAddress
  189.              ACCESS   read-only
  190.              STATUS   mandatory
  191.              DESCRIPTION
  192.                 "On remote routes, the address of the next sys-
  193.                 tem en route; Otherwise, 0.0.0.0."
  194.              ::= { ipForwardEntry 4 }
  195.  
  196.  
  197.          ipForwardIfIndex OBJECT-TYPE
  198.              SYNTAX   INTEGER
  199.              ACCESS   read-write
  200.              STATUS   mandatory
  201.              DESCRIPTION
  202.                 "The ifIndex value which identifies  the  local
  203.                 interface  through  which  the next hop of this
  204.                 route should be reached."
  205.              DEFVAL { 0 }
  206.              ::= { ipForwardEntry 5 }
  207.  
  208.  
  209.          ipForwardType OBJECT-TYPE
  210.              SYNTAX   INTEGER {
  211.                          other    (1), -- not specified by this MIB
  212.                          invalid  (2), -- logically deleted
  213.                          local    (3), -- local interface
  214.                          remote   (4)  -- remote destination
  215.                       }
  216.              ACCESS   read-write
  217.              STATUS   mandatory
  218.              DESCRIPTION
  219.                 "The type of route.  Note that local(3)  refers
  220.                 to  a route for which the next hop is the final
  221.                 destination; remote(4) refers to  a  route  for
  222.                 which  the  next  hop is not the final destina-
  223.                 tion.
  224.  
  225.                 Setting this object to the value invalid(2) has
  226.                 the  effect  of  invalidating the corresponding
  227.                 entry in the ipForwardTable object.   That  is,
  228.                 it  effectively  disassociates  the destination
  229.                 identified with said entry from the route iden-
  230.                 tified    with    said   entry.    It   is   an
  231.                 implementation-specific matter  as  to  whether
  232.                 the agent removes an invalidated entry from the
  233.                 table.  Accordingly, management  stations  must
  234.                 be prepared to receive tabular information from
  235.                 agents that corresponds to entries not current-
  236.                 ly  in  use.  Proper interpretation of such en-
  237.                 tries requires examination of the relevant  ip-
  238.                 ForwardType object."
  239.              DEFVAL { invalid }
  240.              ::= { ipForwardEntry 6 }
  241.  
  242.          ipForwardProto OBJECT-TYPE
  243.              SYNTAX   INTEGER {
  244.                          other     (1),  -- not specified
  245.                          local     (2),  -- local interface
  246.                          netmgmt   (3),  -- static route
  247.                          icmp      (4),  -- result of ICMP Redirect
  248.  
  249.                                  -- the following are all dynamic
  250.                                  -- routing protocols
  251.                          egp       (5),  -- Exterior Gateway Protocol
  252.                          ggp       (6),  -- Gateway-Gateway Protocol
  253.                          hello     (7),  -- FuzzBall HelloSpeak
  254.                          rip       (8),  -- Berkeley RIP or RIP-II
  255.                          is-is     (9),  -- Dual IS-IS
  256.                          es-is     (10), -- ISO 9542
  257.                          ciscoIgrp (11), -- Cisco IGRP
  258.                          bbnSpfIgp (12), -- BBN SPF IGP
  259.                          ospf      (13), -- Open Shortest Path First
  260.                          bgp       (14), -- Border Gateway Protocol
  261.                          idpr      (15)  -- InterDomain Policy Routing
  262.                       }
  263.              ACCESS   read-only
  264.              STATUS   mandatory
  265.              DESCRIPTION
  266.                 "The routing mechanism via which this route was
  267.                 learned.  Inclusion of values for gateway rout-
  268.                 ing protocols is not  intended  to  imply  that
  269.                 hosts should support those protocols."
  270.              ::= { ipForwardEntry 7 }
  271.  
  272.  
  273.          ipForwardAge OBJECT-TYPE
  274.              SYNTAX   INTEGER
  275.              ACCESS   read-only
  276.              STATUS   mandatory
  277.              DESCRIPTION
  278.                 "The number of seconds  since  this  route  was
  279.                 last  updated  or  otherwise  determined  to be
  280.                 correct.  Note that no semantics of  `too  old'
  281.                 can  be implied except through knowledge of the
  282.                 routing  protocol  by  which  the   route   was
  283.                 learned."
  284.              DEFVAL  { 0 }
  285.              ::= { ipForwardEntry 8 }
  286.  
  287.  
  288.          ipForwardInfo OBJECT-TYPE
  289.              SYNTAX   OBJECT IDENTIFIER
  290.              ACCESS   read-write
  291.              STATUS   mandatory
  292.              DESCRIPTION
  293.                 "A reference to MIB definitions specific to the
  294.                 particular  routing protocol which is responsi-
  295.                 ble for this route, as determined by the  value
  296.                 specified  in the route's ipForwardProto value.
  297.                 If this information is not present,  its  value
  298.                 should be set to the OBJECT IDENTIFIER { 0 0 },
  299.                 which is a syntactically valid object  identif-
  300.                 ier, and any implementation conforming to ASN.1
  301.                 and the Basic Encoding Rules must  be  able  to
  302.                 generate and recognize this value."
  303.              ::= { ipForwardEntry 9 }
  304.  
  305.  
  306.          ipForwardNextHopAS OBJECT-TYPE
  307.              SYNTAX   INTEGER
  308.              ACCESS   read-write
  309.              STATUS   mandatory
  310.              DESCRIPTION
  311.                 "The Autonomous System Number of the Next  Hop.
  312.                 When  this  is  unknown  or not relevant to the
  313.                 protocol indicated by ipForwardProto, zero."
  314.              DEFVAL { 0 }
  315.              ::= { ipForwardEntry 10 }
  316.  
  317.          ipForwardMetric1 OBJECT-TYPE
  318.              SYNTAX   INTEGER
  319.              ACCESS   read-write
  320.              STATUS   mandatory
  321.              DESCRIPTION
  322.                 "The primary routing  metric  for  this  route.
  323.                 The  semantics of this metric are determined by
  324.                 the routing-protocol specified in  the  route's
  325.                 ipForwardProto  value.   If  this metric is not
  326.                 used, its value should be set to -1."
  327.              DEFVAL { -1 }
  328.              ::= { ipForwardEntry 11 }
  329.  
  330.  
  331.          ipForwardMetric2 OBJECT-TYPE
  332.              SYNTAX   INTEGER
  333.              ACCESS   read-write
  334.              STATUS   mandatory
  335.              DESCRIPTION
  336.                 "An alternate routing metric  for  this  route.
  337.                 The  semantics of this metric are determined by
  338.                 the routing-protocol specified in  the  route's
  339.                 ipForwardProto  value.   If  this metric is not
  340.                 used, its value should be set to -1."
  341.              DEFVAL { -1 }
  342.              ::= { ipForwardEntry 12 }
  343.  
  344.  
  345.          ipForwardMetric3 OBJECT-TYPE
  346.              SYNTAX   INTEGER
  347.              ACCESS   read-write
  348.              STATUS   mandatory
  349.              DESCRIPTION
  350.                 "An alternate routing metric  for  this  route.
  351.                 The  semantics of this metric are determined by
  352.                 the routing-protocol specified in  the  route's
  353.                 ipForwardProto  value.   If  this metric is not
  354.                 used, its value should be set to -1."
  355.              DEFVAL { -1 }
  356.              ::= { ipForwardEntry 13 }
  357.  
  358.  
  359.          ipForwardMetric4 OBJECT-TYPE
  360.              SYNTAX   INTEGER
  361.              ACCESS   read-write
  362.              STATUS   mandatory
  363.              DESCRIPTION
  364.                 "An alternate routing metric  for  this  route.
  365.                 The  semantics of this metric are determined by
  366.                 the routing-protocol specified in  the  route's
  367.                 ipForwardProto  value.   If  this metric is not
  368.                 used, its value should be set to -1."
  369.              DEFVAL { -1 }
  370.              ::= { ipForwardEntry 14 }
  371.  
  372.  
  373.          ipForwardMetric5 OBJECT-TYPE
  374.              SYNTAX   INTEGER
  375.              ACCESS   read-write
  376.              STATUS   mandatory
  377.              DESCRIPTION
  378.                 "An alternate routing metric  for  this  route.
  379.                 The  semantics of this metric are determined by
  380.                 the routing-protocol specified in  the  route's
  381.                 ipForwardProto  value.   If  this metric is not
  382.                 used, its value should be set to -1."
  383.              DEFVAL { -1 }
  384.              ::= { ipForwardEntry 15 }
  385.  
  386.      END
  387.